package com.freesky.web.portal.reomte.fallback;

import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.web.portal.reomte.SearchRemote;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class SearchRemoteFallback implements SearchRemote {
    private Logger logger = LoggerFactory.getLogger(SearchRemoteFallback.class);

    @Override
    public JSONResponse searchProduct(String key, int page, int size, String sort, int priceGt, int priceLte) {
        logger.error("solr获取商品列表服务维护中");
        return null;
    }

    @Override
    public JSONResponse getItemNameListByKeyWords(String key) {
        logger.error("solr快速获取商品名列表服务维护中");
        return null;
    }

}
